الميزانية العمومية

Youtube
{assign var=totalFixedAssets value=0} {assign var=totalCurrentAssets value=0} {assign var=totalOwnerEquity value=0} {assign var=totalnonCurrentLiabilities value=0} {assign var=totalCurrentLiabilities value=0} {assign var=totalAssets value=0} {assign var=totalLiabilities value=0} {assign var=i value=0} {foreach $fixedAssets as $item} {assign var=i value=$i+1} {/foreach} {assign var=i value=0} {foreach $currentAssets as $item} {if $item->id !=381 && $item->id !=63} {assign var=i value=$i+1} {/if} {/foreach} {assign var=i value=0} {foreach $ownerequity as $item} {assign var=i value=$i+1} {/foreach} {assign var=i value=0} {foreach $nonCurrentLiabilities as $item} {assign var=i value=$i+1} {/foreach} {assign var=i value=0} {foreach $currentLiabilities as $item} {if $item->id != 95} {assign var=i value=$i+1} {/if} {/foreach}
الكود البند القيمة
{$item->layingOrder} {for $foo = 0 to $item->notes step=1}   {/for} {$item->customName} {if $item->theValue != 0} {$item->theValue} {assign var=totalFixedAssets value=$totalFixedAssets+$item->theValue} {/if}
اجمالى الاصول الغير متداولة {$totalFixedAssets}
{$item->layingOrder} {for $foo = 0 to $item->notes step=1}   {/for} {$item->customName} {if $item->theValue != 0} {$item->theValue} {assign var=totalCurrentAssets value=$totalCurrentAssets+$item->theValue} {/if}
اجمالى الاصول الغير متداولة {$totalCurrentAssets}
اجمالى الاصول {assign var=totalAssets value=$totalFixedAssets + $totalCurrentAssets} {$totalAssets}
{$item->layingOrder} {for $foo = 0 to $item->notes step=1}   {/for} {if $item->notes == 1}{$item->customName} {else} {$item->customName} {/if} {if $item->theValue != 0} {$item->theValue} {assign var=totalOwnerEquity value=$totalOwnerEquity + $item->theValue} {/if}
اجمالى حقوق الملكية {$totalOwnerEquity}
{$item->layingOrder} {for $foo = 0 to $item->notes step=1}   {/for} {if $item->notes == 1}{$item->customName} {else} {$item->customName} {/if} {if $item->theValue != 0} {$item->theValue} {assign var=totalnonCurrentLiabilities value=$totalnonCurrentLiabilities + $item->theValue} {/if}
اجمالى الالتزامات الغير متداولة {$totalnonCurrentLiabilities}
{$item->layingOrder} {for $foo = 0 to $item->notes step=1}   {/for} {if $item->notes == 1}{$item->customName} {else} {$item->customName} {/if} {if $item->theValue != 0} {$item->theValue} {assign var=totalCurrentLiabilities value=$totalCurrentLiabilities + $item->theValue} {/if}
اجمالى الالتزامات المتداولة {$totalCurrentLiabilities}
اجمالى الالتزامات {assign var=totalLiabilities value=$totalOwnerEquity + $totalnonCurrentLiabilities + $totalCurrentLiabilities} {$totalLiabilities}

{$gainLossMsg}